gtktreeview: Fix child access after TEST_EXPAND_ROW
authorThomas Holder <thomas@thomas-holder.de>
Tue, 22 Sep 2020 07:27:29 +0000 (09:27 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 23 Sep 2020 11:53:33 +0000 (07:53 -0400)
commit4325c200137f4391cff24398251f37b255387ae3
tree06c3abf23801bfdc55292c5271b68fcaab4b1ee3
parent5e4180b5f08294e7c28b716102bb6eef6e356ae0
gtktreeview: Fix child access after TEST_EXPAND_ROW

In gtk_tree_view_build_tree with recurse=TRUE, the TEST_EXPAND_ROW
signal might invalidate the child iterator. Getting the iterator after
the signal (instead of before) fixes the issue.

Fixes https://gitlab.com/inkscape/inkscape/-/issues/1879
gtk/gtktreeview.c